package com.mipo.client.javase.fastjson;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;


public class FastJsonUtil {
	public static void main(String[] args) {
		String jsonString ="{'username':'kitty','password':'123'}";
		JSONObject jsonInfo = JSONObject.parseObject(jsonString);
		
		jsonInfo.put("username", "rose");
		
		String username =  jsonInfo.getString("username");
		System.out.println(username);
	}
}
